package com.gzist.elderlyserviceplatform.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gzist.elderlyserviceplatform.common.base.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 公告信息表
 */
@Data
@TableName("announcement")
@Schema(description = "公告信息表")
public class Announcement extends BaseDO {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容")
    private String content;


}